package com.ek.kademlia.protocol.impl;

import java.net.SocketAddress;

import com.ek.kademlia.protocol.StoreResponse;

public class DefaultStoreResponse implements StoreResponse {
    private static final long serialVersionUID = -1042373583977468742L;
    private byte[] messageID;
    private byte[] nodeID;
    private SocketAddress serviceAddress;

    public String getMessageClass() {
        return StoreResponse.class.getCanonicalName();
    }

    public void setMessageID(byte[] messageID) {
        this.messageID = messageID;
    }

    public byte[] getMessageID() {
        return messageID;
    }

    public void setNodeID(byte[] nodeID) {
        this.nodeID = nodeID;
    }

    public byte[] getNodeID() {
        return nodeID;
    }

    public SocketAddress getSocketAddress() {
        return this.serviceAddress;
    }

    public void setSocketAddress(SocketAddress serviceAddress) {
        this.serviceAddress = serviceAddress;

    }

}
